Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce PastaQ.normalize! to distinguish from ITensors.normalize! #260

Merged
merged 1 commit into from
Mar 1, 2022

Conversation

mtfishman
Copy link
Collaborator

ITensor/ITensors.jl#820 introduces ITensors.normalize! (actually an overload of LinearAlgebra.normalize!).

Unfortunately the definition there uses the Frobenius norm. I would like to generalize it to allow for other norms, but for now it conflicts with the version in PastaQ. This addresses that issue by changing the notation of the PastaQ normalize! that normalizes by the trace (in the case of operators) to the unexported PastaQ.normalize!.

@GTorlai GTorlai merged commit 978af8a into master Mar 1, 2022
@GTorlai GTorlai deleted the pastaq_normalize_2 branch March 23, 2022 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants